package com.example.room_type.mapper;

import com.example.model.room_type.RoomType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomTypeMapper {

    RoomType get(Long id);

    List<RoomType> list(RoomType roomType);

    int insert(RoomType room);

    int update(RoomType room);

    int delete(Long id);

}
